package com.xhl.doeverything.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xionghuilong
 * @description: 用户表
 * @date 2021/11/19 17:28
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class UserRequest {

    @ApiModelProperty(value = "用户id")
    private String id;
//    @NotEmpty(message = "name不能为空")
    @ApiModelProperty(value = "姓名")
    private String name;

//    @NotEmpty(message = "name不能为空")
    @ApiModelProperty(value = "年龄")
    private int age;

    @ApiModelProperty(value = "身高")
    private int height;
}
